﻿using HAF.LogUtility.Model;
using System;

namespace Iptv.ResourceDowner.Model
{
    /// <summary>
    /// 待下载介质任务信息
    /// </summary>
    public class DownResourceInfo : ResponsePackage
    {
        /// <summary>
        /// CP标记
        /// </summary>
        public string Tag { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string CorrectID { get; set; }
        /// <summary>
        /// 任务创建日期  由请求方提供，解决跨日问题 eg:  2024-09-01
        /// </summary>
        public string CreateDate { get; set; } = DateTime.Now.ToString("yyyy-MM-dd");
        /// <summary>
        /// 资源下载地址
        /// </summary>
        /// <remarks>ftp://zzx_tencent_m3u8:zzx123456@182.138.25.61/20240511/n41009qwd1q.2.n41009qwd1q.321004/n41009qwd1q.2.n41009qwd1q.321004.ts.m3u8</remarks>
        public string ResFtpAddr { get; set; }
        /// <summary>
        /// 资源文件MD5码
        /// </summary>
        public string MD5 { get; set; }
    }
}
